package senpec.qc.harmony.system.department;


import senpec.qc.harmony.base.mybatisplus.IBaseService;
import senpec.qc.harmony.base.mybatisplus.Result;

import java.util.List;
import java.util.Set;

@SuppressWarnings("ALL")
public interface DepartmentService extends IBaseService<Department> {

    Set<Long> getChildrenIdsById(Long id);

    Result<List<Department>> getTree();

    Result<List<Department>> getCascade();
}